package com.happy3w.ssp.schoolmatehome.service.note;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class NoteStateSummary {
    private Integer viewCount;
    private Integer favoriteCount;
    private Integer collectCount;
    private Boolean isFavorite;
    private Boolean isCollect;
    private Boolean isTemplate;

    public static NoteStateSummary empty() {
        return new NoteStateSummary(0, 0, 0, false, false, false);
    }
}
